Active control of collaborative devices

ABSTRACT

Controlling collaborative devices, including providing at least two collaborative devices, in which each collaborative device includes a client device and a client communications application, each collaborative device being coupled for data communications to an OSGi-compliant services gateway, and providing registry records describing collaborative devices, in which each registry record represents a capability of the collaborative device pertinent to a tertiary relationship for control of collaborative devices, each registry record including data elements describing, for each collaborative device, at least one capability, at least one tertiary relationship, and at least one network connectivity. Embodiments include providing, in dependence upon the tertiary relationship, a service bundle including at least one predetermined algorithm for controlling the collaborative devices, and controlling the collaborative devices in accordance with the predetermined algorithm.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The field of the invention is data processing, or, more specifically, methods, systems, and products for active control of collaborative devices.

2. Description of Related Art

A service gateway is an OSGI-compliant host server, server software installed and running on server computer hardware. “OSGI” refers to the Open Services Gateway Initiative, a computing industry organization developing specifications for service gateways, including specifications for delivery of “service bundles.” OSGI service bundles are software middleware providing compliant data communications and services through service gateways. The Open Services Gateway specification is a java based application layer framework that gives service providers, network operator device makers, and appliance manufacturer's vendor neutral application and device layer APIs and functions. An “API” is an Application Program Interface, a set of routines, protocols, and tools for building software applications.

A service gateway usually is a home or business server, a separate computer coupled for data communications through a local area network or “LAN” to client devices. Client devices include any device capable of adaptation for data communications, including, for example, automobiles, vending machines, cash registers, gasoline pumps, RFID readers, clocks, window shade controllers, door locks, smoke detectors, proximity detectors, television sets, radios, electric light switches, thermostats, thermometers, air conditioners, heaters, medical monitoring equipment, refrigerators, cook tops on stoves, ovens, coffee makers, water heaters, and so on.

A service gateway usually is an embedded server inserted in a LAN not only for providing data communications among client devices, but also to connect a wide area network or “WAN,” such as an external internet or extranet, to internal client devices within a home, office, or business setting. A service gateway often is an embedded server installed and running in the same physical device or cabinet with a client device.

“Embedded server” means a Java embedded server, a small-footprint application server that can be embedded in any networked device, home gateway, or client device. Embedded servers typically are zero-administration devices intended, when implemented as service gateways, to divide a network architecture into an external WAN and an internal LAN. An embedded server manages services deployed from trusted external resources to internal client devices over a network, including, for example, services implemented through OSGI-compliant service bundles. Embedded servers enable deployment and installation of services, such as OSGI-compliant service bundles, on a just-in-time basis, when the services are needed from time to time for use by client devices.

All of the architecture so described, the service gateways, the service bundles, the client devices coupled through a LAN, the service gateway downloading service bundles when needed to provide services through a client device, all of this, has the effect of controlling individual client devices, with no collaboration among the devices. In the architecture so described, a user can, for example, log in to a service gateway and reset the desired temperature on a thermostat. The thermostat would then turn on a heater if, for example, the actual temperature were lower than the desired temperature. Raising a window shade on a warm, bright day, however, can also increase temperature in a room, and sunlight generally is both less expensive to operate than a heater and less environmentally demanding, although the benefits of reduced cost and reduced environmental impact are not available without collaboration among individual devices. If a first raised window shade were insufficient, then a second could be raised. If window shade raising without the use of a heater were insufficient, then the heater could be turned on, perhaps requiring less fuel consumption now that the raised window shades have contributed to the heating of the room. This simple example illustrates that it would be advantageous to have ways of controlling client devices so that they collaborate, bringing multiple resources to bear upon subjects of control.

SUMMARY OF THE INVENTION

Exemplary embodiments of the invention include methods of controlling collaborative devices. Exemplary embodiments include providing at least two collaborative devices, in which each collaborative device includes a client device and a client communications application, each collaborative device being coupled for data communications to an OSGi-compliant, services gateway. Such embodiments include providing registry records describing collaborative devices, in which each registry record represents a capability of the collaborative device pertinent to a tertiary relationship for control of collaborative devices, each registry record including data elements describing, for each collaborative device, at least one capability, at least one tertiary relationship, and at least one network connectivity. Typical embodiments include providing, in dependence upon the tertiary relationship, a service bundle including at least one predetermined algorithm for controlling the collaborative devices, and controlling the collaborative devices in accordance with the predetermined algorithm.

In exemplary embodiments of the invention, the predetermined algorithm is dedicated to a particular tertiary relationship. In exemplary embodiments, controlling the collaborative devices in accordance with the predetermined algorithm includes finding a registry record bearing a set point for the particular tertiary relationship, reading a sensor value of the particular tertiary relationship, and comparing the set point and the sensor value, producing a comparison. Such embodiments also include finding, in dependence upon the comparison, a registry record having an identified capability appropriate to the comparison result for the particular tertiary relationship, and effecting the identified capability from the found registry record.

In exemplary embodiments of the invention, effecting the identified capability from the found registry record includes requesting, by use of an HTTP request, a URL identified in the found registry record as a network connectivity. In such embodiments, reading a sensor value includes finding a registry record for a sensor for the particular tertiary relationship, and effecting the capability identified in the found registry record for the sensor. In typical embodiments, effecting the identified capability from the found registry record for the sensor includes requesting, by use of an HTTP request, a URL identified in the found registry record for the sensor.

The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular descriptions of exemplary embodiments of the invention as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts of exemplary embodiments of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a high level block diagram of the principal components of an exemplary embodiment.

FIG. 1 a is a block diagram illustrating automated computing machinery useful in client devices, services gateways, and servers of various embodiments of the present invention.

FIG. 2 is a control flow diagram of an exemplary embodiment of an algorithm for control of collaborative devices.

FIG. 3 is an illustration of exemplary embodiments of registry records.

FIG. 4 is a further illustration of exemplary embodiments of registry records.

FIG. 5 is a still further illustration of exemplary embodiments of registry records.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS Introduction

The present invention is described to a large extent in this specification in terms of methods for active control of collaborative devices. Persons skilled in the art, however, will recognize that any computer system that includes suitable programming means for operating in accordance with the disclosed methods also falls well within the scope of the present invention.

Suitable programming means include any means for directing a computer system to execute the steps of the method of the invention, including for example, systems comprised of processing units and arithmetic-logic circuits coupled to computer memory, which systems have the capability of storing in computer memory, which computer memory includes electronic circuits configured to store data and program instructions, programmed steps of the method of the invention for execution by a processing unit. The invention also may be embodied in a computer program product, such as a diskette or other recording medium, for use with any suitable data processing system.

Embodiments of a computer program product may be implemented by use of any recording medium for machine-readable information, including magnetic media, optical media, or other suitable media. Persons skilled in the art will immediately recognize that any computer system having suitable programming means will be capable of executing the steps of the method of the invention as embodied in a program product. Persons skilled in the art will recognize immediately that, although most of the exemplary embodiments described in this specification are oriented to software installed and executing on computer hardware, nevertheless, alternative embodiments implemented as firmware or as hardware are well within the scope of the present invention.

Definitions

In this specification, the following terms are used as defined here. Other terms are defined elsewhere in the specification and used as defined.

In this specification, the terms “field,” “data element,” “attribute,” and “code” are used as synonyms, referring to individual elements of digital data. Aggregates of data elements are referred to as “records” or “data structures.” Definitions of complex data structures that include member methods, functions, or software routines in addition to data elements are referred to as “classes.” Instances of complex data structures are referred to as “objects” or “class objects.”

“Coupled for data communications” means any form of data communications, wireless, 802.11b, Bluetooth, infrared, radio, internet protocols, HTTP protocols, email protocols, networked, direct connections, dedicated phone lines, dial-ups, serial connections with EIA232 (RS-232), IEEE 1394 (often called ‘Firewire’ connections, a trademark of Apple Computer, Inc.), Universal Serial Buses (“USB”), hard-wired parallel port connections, and other forms of data communications as will occur to those of skill in the art. Couplings for data communications include network connections implemented by use of power line protocols such as, for example, “HomePlug,” “X-10,” “CEBus,” and “Lonworks.”

The term “network” is used in this specification to mean any networked coupling for data communications. Examples of networks useful with the invention include intranets, extranets, internets, local area networks, wide area networks, and other network arrangements as will occur to those of skill in the art. The use of any networked coupling among service gateways, client devices, registries, or repositories of registry records, such as, for example, database management systems comprising registry records, is well within the scope of the present invention.

“Network address” means any network address useful to locate on any network a registry service, registry records, client devices, or capabilities whose locations are identified by connectivities or URLs. Network addresses include any internet protocol address useful to locate a registry service, registry records, client devices, or capabilities whose locations are identified by connectivities or URLs on an internet. Network addresses useful with various embodiments of the invention include local internet protocol addresses, private internet protocol addresses, temporary Internet addresses assigned to a Web client by a DHCP server, and permanent, official registered Internet addresses associated with domain names. “DHCP” is the Dynamic Host Configuration Protocol.

“URL” means Uniform Resource Locator, a standard method of associating network resource locations with network addresses for data communications, and, in the case of servlets, for invoking functions or operations of the resources.

“World Wide Web,” or more simply “the Web,” refers to the well-known system of internet protocol (“IP”) servers that support specially formatted documents, documents formatted in a language called “HTML” for HyperText Markup Language. The term “Web” is used in this specification also to refer to any server or connected group or interconnected groups of servers that implement the HyperText Transport Protocol, “HTTP,” in support of URLs and HTML documents, regardless whether such servers or groups of servers are coupled to the World Wide Web as such.

“Browser” means a Web browser, a software application for locating and displaying Web pages. Typical browsers today can display text, graphics, audio and video.

A “Web site” is a location on the World Wide Web. Web sites are identified by domain names that resolve to Internet addresses. Web sites include storage locations identifiable by URLs. Web sites are implemented in, on, and as part of Web servers, that is, HTTP servers. Web sites are aggregations of computer software installed and operating on computer hardware.

DETAILED DESCRIPTION

FIG. 1 is used to illustrate a method of control of collaborative devices in which the method includes providing at least two collaborative devices (120). In the illustrated example embodiment, each collaborative device includes a client device (124) and aclient communications application (132). In the example of FIG. 1, each collaborative device (120) is coupled for data communications to an OSGi-compliant services gateway (106). The ‘gateway’ quality of a service gateway is that it provides data communications couplings between sources (102) of content and services across a WAN (104) to client devices (124) on a LAN (118) in a home or office. The example of FIG. 1 collaborative devices (120) comprising client devices (124) coupled for data communications directly (134) to a services gateway (106), in addition to networked connections (118). Such direct connections (134) can include couplings implemented through, for example, EIA232 connections, Firewire™ connections, USB connections, hard-wired parallel port connections, and so on. Client devices, services gateways, and web servers upon which content servers are implemented typically comprise automated computer machinery (754) having elements such as those illustrated in FIG. 1 a. FIG. 1 a sets forth a block diagram of automated computing machinery (754) that includes a computer processor or ‘CPU’ (156). The exemplary automated computer machinery (754) of FIG. 1 a includes random access memory (168) (“RAM”).

Stored in RAM (168), in this example of useful automated computing machinery, is a communications application program (105) and an operating system (154). Examples of communications application programs useful with various embodiments of the invention include HTTP communications programs such as web server software for web servers and browsers and microbrowsers for client devices. Examples of operating systems useful with various embodiments of servers and client devices according to the present invention include Microsoft's DOS, Microsoft's NT™, Unix, Linux, and others as will occur to those of skill in the art. The use of any operating system, or no operating system, is within the scope of the present invention.

In addition to RAM, the exemplary automated computer machinery (754) of FIG. 1 a includes non-volatile computer memory (166). Non-volatile computer memory (166) can be implemented as hard disk space (170), optical drive space (172), electrically erasable programmable read-only memory space (so-called ‘EEPROM’ or ‘Flash’ memory) (174), or as any other kind of computer memory, as will occur to those of skill in the art, capable of receiving and storing software and computer data, including communications applications programs such as browsers, microbrowsers, and HTTP server software; security objects; operating systems; broadcast content, broadcast schedules, and preferred location specific content.

The automated computer machinery (754) of FIG. 1 a includes an input/output interface (178) capable of providing input from data entry devices (256) and output to display devices (652). Data entry devices (256) include mice, touch-sensitive screens, keyboards, and so on. Display devices (652) include video screens on personal computers, liquid crystal screen on wireless handheld devices, audio speakers, television screens, and so on. To the extent that a data entry device (256) and a display device (652) on the same client device or web server comprise a touch-sensitive screen, then a data entry device (256) and a display device (652) can be the same physical device. Data entry devices and display devices both implement or utilize GUIs or character-based user interfaces. Automated computer machinery (754) as illustrated in FIG. 1 a typically includes also at least one serial port (750), which as mentioned above, can be an EIA232 port, a Firewire™ port, a USB port, and so on. Automated computer machinery (754), particularly for service gateways and client devices, as illustrated in FIG. 1 a typically includes also at least one connector for LAN communications (752), which can be an Ethernet™ card for wired LANs, a Bluetooth or 802.11 card for wireless LANs, and so on.

The example embodiment illustrated through FIG. 1 includes providing a registry service (114) to which the collaborative devices (120) are coupled for data communications. In the illustrated example embodiment, the couplings for data communications between the registry service and the collaborative devices are effected through a LAN (118) or through direct couplings (134) as described above. The registry service (114) provides database management services, queries for records, sorts, indexing, read, write, create, deletes, and so on, for registry records. In many embodiments, a registry service is itself implemented as one or more OSGi-compliant services activated from one or more services bundles in a services gateway.

The illustrated embodiment includes providing at least one registry table (116), wherein the registry table further comprises registry records (117) describing collaborative devices. Each registry record (117) represents a capability of collaborative devices pertinent to a tertiary relationship for control of collaborative devices. Each registry record in the example of FIG. 1 includes data elements describing, for each collaborative device, at least one capability (318), at least one tertiary relationship (320), and at least one network connectivity (322).

Another example of a registry record structure is shown at references (302–316) on FIG. 3, where the registry record structure includes also client device names (144) and effects of capabilities (146). Registry records have alternative structures across embodiments. In the structures illustrated in FIG. 3, however, the registry records include registry records representing capabilities of collaborative devices, and the registry records representing capabilities of collaborative devices further include data elements describing, for each collaborative device, capabilities (318), tertiary relationships (320), and network connectivities (322).

The registry records are established initially, for example, by user data entry through a data entry screen and a keyboard on a computer terminal logged on to a service gateway and a registry service, or by a registry service reading at startup registry records from non-volatile computer memory, or by a registry service downloading across a WAN registry records at startup from remote databases, or by a registry service uploading registry records from collaborative devices when collaborative devices are powered up. These are several examples of embodiments for establishing registry records. Person of skill in the art will think of other ways of establishing registry records, all such ways being well within the scope of the present invention.

The illustrated embodiment of FIG. 1 includes providing, in dependence upon (136) the tertiary relationship (322), a service bundle (108) of OSGI-compliant services (109) comprising at least one predetermined algorithm (110) for controlling the collaborative devices. The service bundle (108) is shown on FIG. 1 as a download across a WAN (104) from a remote storage location, the remote services database (102). The service bundle (108) is provided in dependence upon (136) the tertiary relations ship (322) in the sense that a particular services bundle for a particular tertiary relationship is identified on the basis of an algorithm identification, such as an algorithm name or an algorithm identification code (330), the algorithm identification being recorded on a registry record for a particulary tertirary relationship (320).

Although the service bundle in the example of FIG. 1 is downloaded across a WAN, the service bundle in other embodiments is loaded from a recording medium such as a compact disk or diskette, for storage in computer memory on the service gateway itself. Or the service bundle can be uploaded from a client device. Persons skilled in the art will think of other ways of acquiring service bundles, all such ways being well within the scope of the present invention.

The example of FIG. 1 includes controlling (112) the collaborative devices in accordance with the predetermined algorithm (110). In most embodiments, the means for control is a computer processor coupled to computer memory in which is stored the predetermined algorithm as part of a service bundle, a computer program stored in computer memory and operated to control the computer processor. In typical embodiments according to the example of FIG. 1, controlling (112) collaborative devices (120) is carried out by activating (111) a service bundle (108) and so that its algorithm (110) executes in a services gateway (106).

A further exemplary method of controlling collaborative devices is illustrated in FIG. 2. In the method of FIG. 2, a predetermined algorithm (110 on FIG. 1) is dedicated (136 on FIG. 1) to a particular tertiary relationship (320 on FIG. 1 and on FIG. 3). That is, the predetermined algorithm is dedicated, for example, to “Temperature Control,” the exemplary tertiary relationship (320) of FIG. 3. In the example of FIG. 2, the predetermined algorithm (110) carries out control (112) of collaborative devices by finding (202) a registry record (338) bearing a set point (204) for a particular tertiary relationship, which is taken for purposes of this example as “Temperature Control.”

The exemplary predetermined algorithm of the present example further implements control of collaborative device by reading (206) a sensor value (208) of the particular tertiary relationship, comparing (210) the set point (204) and the sensor value, producing a comparison (212), and finding (214), in dependence upon the comparison, a registry record (216) having an identified capability (318) appropriate to the comparison result for the particular tertiary relationship. Reading (206) a sensor value, in typical embodiments, includes finding (138) a registry record (142) for a sensor for the particular tertiary relationship and effecting (140) the identified capability from the found registry record for the sensor.

In the example of the registry records of FIG. 3, reading a sensor value includes finding a registry record (314) for the particular tertiary relationship (“Temperature Control”) (column 320 on FIG. 3) having a capability of “sensor” (column 318 on FIG. 3). In the example of FIG. 3, the record so found is record number 314. Reading a sensor value in this example then includes transmitting an HTTP request for the URL identified in that found registry record as a network connectivity (322) of the capability (318) in the registry record. The found registry record (314) in this example in effect means to the algorithm, “Obtain the current sensor value from this URL.”

The transmitted HTTP request message in the present example includes the following URL from registry record (314): \\192.168.0.3\servlet?function=“temp”

This exemplary URL, in the present example embodiment, is delivered to the embedded Java server embedded in the collaborative device located on the LAN at the network address \\192.168.0.2. The URL invokes a servlet that accepts a parameter named “function,” which in this invocation is assigned the value “temp,” requesting the current temperature. The call to the servlet returns the temperature to the embedded Java server. The embedded Java server configures and returns an HTTP response message including the current temperature.

Controlling (112) collaborative devices in the exemplary method of FIG. 2 includes finding (202), for use in comparing (210) with a sensor value (208), a set point record, that is, a registry record (338) bearing a set point (204), or, in other embodiments, a pointer, a member method, or a URL that returns a set point. More specifically, in the present example embodiment, comparing (210) the set point with the sensor value (208) requires first discovering what the set point is. In the example regarding the tertiary relationship “Temperature Control” illustrated by the records in FIG. 3, the set point is found in the connectivity field (322) of a registry record (316) identified by the tertiary relationship “Temperature Control” and the capability “set point.” In this specific example of a set point, the connectivity field is used to identify a literal value rather than to identify a remote connection to a source of a value. Other embodiments, rather than a literal value in the connectivity field, include in the connectivity field for a set point a URL identifying a remote location of a source of a set point value. In this particular example embodiment, the set point is a range, “73 to 77 degrees Fahrenheit.”

Comparing (210) the set point (204) and the sensor value (208) produces a comparison (212). For purposes of this example, it is assumed that the comparison indicates for the sensor value a current temperature below the set point range and therefore a raise in temperature is needed. The method of FIG. 2 includes finding (214), in dependence upon the comparison (212), a registry record (216) having an identified capability (318) appropriate to the comparison result for the particular tertiary relationship. In our ongoing example regarding “Temperature Control,” finding such a registry record includes finding a registry record for the tertiary relationship “Temperature Control” where the registry record has the capability “Raise Temp.” The first such registry record in the example registry records of FIG. 3 is record number (302), which identifies the capability of raising a window shade. Two other records in FIG. 3 meet these criteria also, record (306) in which is identified the capability of turning on a heater and record (312) in which is identified the capability of turning off an air conditioner.

The example algorithm of FIG. 2 includes effecting (222) the identified capability from the found registry record (216). In the example of FIG. 2, effecting (222) the identified capability from the found registry record includes requesting (224), by use of an HTTP request, a URL (220) identified in the found registry record as a network connectivity.

In the case of the ongoing example regarding “Temperature Control” as illustrated also in FIG. 3, includes requesting (224), by use of an HTTP request, a URL (220) identified in the found registry record as a network connectivity. More specifically, in the example of raising temperature by raising a window shade, the identified capability from the example registry record number (302 on FIG. 3), the HTTP request message includes the URL from the connectivity field (322) of record number (302), that is: \\192.168.0.2\servlet?function=“up”

This example form of URL includes the network address, “\\192.168.0.2,” of an OSGi service implemented as an exemplary Java servlet accepting as a parameter a variable called “function.” In this example, the value passed as the value of the parameter variable is “up.” To lower the window shade, as illustrated at registry record number (304) on FIG. 3, the valued of the parameter “function” is set to “down.”

In this example, the OSGi service identified in the connectivity field of the registry record is a Java servlet operating as an OSGi service, in particular, a device driver in a service gateway coupled for data communications through a LAN to a collaborative device comprising as its client device a motor controlling a window shade, the client device including automated computing machinery and data communications and control program software capable of receiving and executing commands such as “raise window shade” or “lower window shade.” It is useful for further explanation to note that the URLs for the heater, air conditioner, and thermometer identified in registry records 306, 308, 310, 312, and 314 in FIG. 3 all have the same network address, “192.168.0.3.” In this particular example, all these URLs have the same network address because they all call servlets in the same embedded Java server in the same service gateway.

A further example embodiment of a predetermined algorithm can be implemented as illustrated by the following exemplary pseudocode:

Control_Algorithm( Tertiary_Relat = “Temperature Control”,       Wait_Time = 60 seconds) {   //find sensor record for the tertiary relationship   Sensor_record = find_sensor_record(Tertiary_Relat);   //loop while sensor value is outside set point range   while(     (Sensor_value = read_value(Sensor_record.Connectivity)     < (Set_point = find_set_point(Tertiary_Relat))     or     (Sensor_value > Set_point))   {     Capability_needed = compare(Sensor_value, Set_point);     Action_record =       find_next_registry_record(RegistryRecord.Capability =       Capability_needed);     Effect(Action_record.Connectivity);     Wait(Wait_Time);   } }

The Control_Algorithm( ) function itself, in typical example embodiments, is set to run in a continuous loop, so that its operation includes continuously comparing a set point to a sensor value and taking action in dependence upon the results of the comparison. The set point is checked on each recursion of the control loop because a user can reset a set point or a set point range at any time. Users can reset set point, for example, by use of data entry screens and keyboards on computer terminals logged on to the service gateway and the registry service. Alternatively, users can change set points by use of client devices themselves, such as thermostats with embedded Java servers whose functions include reporting to a registry service changes in set points detected on a thermostat switch. Many ways of setting set points and set point ranges will occur to those of skill in the art, all such ways being well within the scope of the present invention.

The compare( ) function, in examples of this kind, returns, for example, the Capability_needed of “Raise Temp” when the sensor value is less than the set point and the Capability_needed of “Lower Temp” when the sensor value is greater than the set point. The Wait( ) function pauses operation for long enough to give effect to the mechanical and thermal changes effected before again checking set point and sensor value. The Wait_Time, like the tertiary relationship for the algorithm, is set by parameter when the Control_Algorithm( ) function is called. In this particular example, the use of passed parameters at run time means that this particular form of algorithm, the function Control_Algorithm( ), is useful for a wide variety of embodiments using set points. Of course there is no general requirement for set points in the present invention, and many embodiments do not use set points. This kind of algorithm, however, is useful for many that do.

The registry records in FIG. 3 illustrate also an implementation of a control policy preferring non-fossil fuel capabilities for heating to those requiring fossil fuels. The policy is implemented in the records of FIG. 3 by virtue of the ordering of the records. That is, an algorithm of the “find_next” kind when seeking “Raise Temp” as a capability will find record (302) before record (306), assuming the records are sorted or indexed in the order shown in FIG. 3. If records favoring non-fossil-fuel heating appear in the sort order or index order before records enabling fossil fuel usage for heating, the policy is effected. But there are other ways of effecting control policies.

Illustrated by use of FIG. 4 is a further embodiment addressed to the tertiary relationship of “Temperature Control.” More specifically, the registry records (402, 404, 406) shown in FIG. 4 add to the registry records for “Temperature Control” a sensor capability for outdoor light levels and capabilities of raising and lowering temperatures without the use of fossil fuel. In this example, data identifying fossil fuel effects are expressly included in the registry record data, thus supporting predetermined algorithms of the kind illustrated by the following pseudocode:

Control_Algorithm( Tertiary_Relat = “Temperature Control”,       Wait_Time = 60 seconds) {   //find sensor record for the tertiary relationship   Sensor_record = find_sensor_record(Tertiary_Relat);   //loop while sensor value is outside set point range   while(     (Sensor_value = read_value(Sensor_record.Connectivity)     < (Set_point = find_set_point(Tertiary_Relat))     or     (Sensor_value > Set_point))   {     Capability_needed = compare(Sensor_value, Set_point);     if(((Action_record =       find_next_NON-FOSSIL_record(       RegistryRecord.Capability = Capability_needed)) ==       NULL)       find_next_FOSSIL_record( RegistryRecord.Capability           = Capability_needed);     Effect(Action_record.Connectivity);     Wait(Wait_Time);   } }

In order for the find_next_NON-FOSSIL_record( ) function to be able to return a NULL when no further non-fossil-fuel capabilities remain available, the registry record structure in such embodiments typically is extended to include a status field for each registry record (not shown). In this kind of embodiment, the Effect( ) function or the find_next_NON-FOSSIL_record( ) function in such embodiments marks each registry record status as “on” or “in use” when the record is found or when the capability represented by each record is effected, so that the find_next_NON-FOSSIL_record( ) knows upon the next iteration through the loop whether it can find a non-fossil capability still available for use.

Also illustrated by use of FIG. 4 is a still further embodiment addressed to the tertiary relationship of “Temperature Control.” More specifically, the registry records (402, 404, 406) shown in FIG. 4 add to the registry records for “Temperature Control” a sensor capability for outdoor light levels and capabilities of raising and lowering temperatures without the use of fossil fuel. By use of these kinds of registry records, it is possible to implements more sophisticated embodiments, embodiments that operate, for example, in dependence upon outdoor illumination levels sensed, not through outdoor photocells, but from weather services provided over the Internet. In this example, data identifying fossil fuel effects are expressly included in the registry record data, thus supporting predetermined algorithms of the kind illustrated by the following pseudocode:

Control_Algorithm( Tertiary_Relat = “Temperature Control”,       Wait_Time = 60 seconds,       MyLat = “384012”,       MyLong = “452032”,       Target_Index = 8) {   //find sensor record for the tertiary relationship   Sensor_record = find_sensor_record(Tertiary_Relat);   //loop while sensor value is outside set point range   while(     (Sensor_value = read_value(Sensor_record.Connectivity)     < (Set_point = find_set_point(Tertiary_Relat))     or     (Sensor_value > Set_point))   {     Capability_needed = compare(Sensor_value, Set_point);     AddlSnsrRcd = find_record(Tertiary_Relat, Capability =       “Sensor - Outdoor Light Level”);     if( (Solar_Index = AddlSnsrRcd.Connectivity(MyLat,       MyLong)) > Target_Index       and       Capability_needed includes “Raise Temp”)     {       if(((Action_record =         find_next_NON-FOSSIL_record(         RegistryRecord.Capability =         Capability_needed)) == NULL)         find_next_FOSSIL_record(           RegistryRecord.Capability =           Capability_needed);     }     else find_next_FOSSIL_record( RegistryRecord.Capability =       Capability_needed);     Effect(Action_record.Connectivity);     Wait(Wait_Time);   } }

The embodiment illustrated by this pseudocode includes an additional step of checking outdoor light level by finding an additional sensor record (402), a record identifying a capability of sensing outdoor light levels. The identified capability from this ‘sensor record,’ a registry record identifying a capability of returning a value rather than taking action, is not reading a photocell, however. Instead, the identified capability from this record is a call to an Internet-based weather service, a remote Internet location or web site providing generally the service of reporting upon request, an HTTP request, that is, the solar index at a latitude and longitude included as parameters in the request. Thus the logic of the algorithm becomes, for embodiments of this kind: If heat is needed and there is enough sunshine outside to make it worthwhile, look for a non-fossil fuel capability; otherwise go ahead and turn on the heater.

A further explanation of aspects of the present invention is provided with reference to FIG. 5. FIG. 5 illustrates an exemplary embodiment of registry records for the tertiary relationship “Living Room illumination Control.” The example embodiment of FIG. 5 is included to show that, despite the fact that the example embodiments of FIGS. 3 and 4 are directed to “Temperature Control,” in fact, embodiments of the invention address many more tertiary relationships than just “Temperature Control.” The embodiment of FIG. 5, for example, includes capabilities among collaborative devices for sensing levels of illumination (514), raising and lowering window shades (510, 512), and for turning on and off electric lights (502, 504, 505, 508). This disclosure discusses a variety of example embodiments of tertiary relationships, including examples for temperature control and illumination control. Many alternative tertiary relationships will occur to those of skill in the art, and all such tertiary relationships are well within the scope of the present invention.

It will be understood from the foregoing description that various modifications and changes may be made in the exemplary embodiments of the present invention without departing from its true spirit. The descriptions in this specification are for purposes of illustration only and are not to be construed in a limiting sense. The scope of the present invention is limited only by the language of the following claims. 

1. A method of control of collaborative devices, the method comprising: providing at least two collaborative devices, wherein each collaborative device comprises a client device and a client communications application, each collaborative device being coupled for data communications to an OSGi-compliant services gateway; providing registry records describing collaborative devices, wherein each registry record represents a capability of the collaborative device pertinent to a tertiary relationship for control of collaborative devices, each registry record comprising data elements describing, for each collaborative device, at least one capability, at least one tertiary relationship, and at least one network connectivity; providing, in dependence upon the tertiary relationship, a service bundle comprising at least one predetermined algorithm for controlling the collaborative devices, wherein the predetermined algorithm is dedicated to a particular tertiary relationship; and controlling the collaborative devices in accordance with the predetermined algorithm, including finding a registry record bearing a set point for the particular tertiary relationship, reading a sensor value of the particular tertiary relationship, comparing the set point and the sensor value, producing a comparison, finding, in dependence upon the comparison, a registry record having an identified capability appropriate to the comparison result for the particular tertiary relationship, effecting the identified capability from the found registry record.
 2. The method of claim 1 wherein effecting the identified capability from the found registry record includes requesting, by use of an HTTP request, a URL identified in the found registry record as a network connectivity.
 3. The method of claim 1 wherein reading a sensor value further comprises: finding a registry record for a sensor for the particular tertiary relationship; effecting the capability identified in the found registry record for the sensor.
 4. The method of claim 3 wherein effecting the identified capability from the found registry record for the sensor includes requesting, by use of an HTTP request, a URL identified in the found registry record for the sensor.
 5. A system for control of collaborative devices, the system comprising: means for providing at least two collaborative devices, wherein each collaborative device comprises a client device and a client communications application, each collaborative device being coupled for data communications to an OSGi-compliant services gateway; means for providing registry records describing collaborative devices, wherein each registry record represents a capability of the collaborative device pertinent to a tertiary relationship for control of collaborative devices, each registry record comprising data elements describing, for each collaborative device, at least one capability, at least one tertiary relationship, and at least one network connectivity; means for providing, in dependence upon the tertiary relationship, a service bundle comprising at least one predetermined algorithm for controlling the collaborative devices, including the predetermined algorithm dedicated to a particular tertiary relationship; and means for controlling the collaborative devices in accordance with the predetermined algorithm, including means for finding a registry record bearing a set point for the particular tertiary relationship, means for reading a sensor value of the particular tertiary relationship, means for comparing the set point and the sensor value, producing a comparison, means for finding, in dependence upon the comparison, a registry record having an identified capability appropriate to the comparison result for the particular tertiary relationship, means for effecting the identified capability from the found registry record.
 6. The system of claim 5 wherein means for effecting the identified capability from the found registry record includes means for requesting, by use of an HTTP request, a URL identified in the found registry record as a network connectivity.
 7. The system of claim 5 wherein means for reading a sensor value further comprises: means for finding a registry record for a sensor for the particular tertiary relationship; means for effecting the capability identified in the found registry record for the sensor.
 8. The system of claim 7 wherein means for effecting the identified capability from the found registry record for the sensor includes means for requesting, by use of an HTTP request, a URL identified in the found registry record for the sensor.
 9. A computer program product for control of collaborative devices, the computer program product comprising: a recording medium; means, recorded on the recording medium, for providing at least two collaborative devices, wherein each collaborative device comprises a client device and a client communications application, each collaborative device being coupled for data communications to an OSGI-compliant services gateway; means, recorded on the recording medium, for providing registry records describing collaborative devices, wherein each registry record represents a capability of the collaborative device pertinent to a tertiary relationship for control of collaborative devices, each registry record comprising data elements describing, for each collaborative device, at least one capability, at least one tertiary relationship, and at least one network connectivity; means, recorded on the recording medium, for providing, in dependence upon the tertiary relationship, a service bundle comprising at least one predetermined algorithm for controlling the collaborative devices, including the predetermined algorithm dedicated to a particular tertiary relationship; and means, recorded on the recording medium, for controlling the collaborative devices in accordance with the predetermined algorithm, including means, recorded on the recording medium, for finding a registry record bearing a set point for the particular tertiary relationship, means, recorded on the recording medium, for reading a sensor value of the particular tertiary relationship, means, recorded on the recording medium, for comparing the set point and the sensor value, producing a comparison, means, recorded on the recording medium, for finding, in dependence upon the comparison, a registry record having an identified capability appropriate to the comparison result for the particular tertiary relationship, means, recorded on the recording medium, for effecting the identified capability from the found registry record.
 10. The computer program product of claim 9 wherein means, recorded on the recording medium, for effecting the identified capability from the found registry record includes means, recorded on the recording medium, for requesting, by use of an HTTP request, a URL identified in the found registry record as a network connectivity.
 11. The computer program product of claim 9 wherein means, recorded on the recording medium, for reading a sensor value further comprises: means, recorded on the recording medium, for finding a registry record for a sensor for the particular tertiary relationship; means, recorded on the recording medium, for effecting the capability identified in the found registry record for the sensor.
 12. The computer program product of claim 11 wherein means, recorded on the recording medium, for effecting the identified capability from the found registry record for the sensor includes means, recorded on the recording medium, for requesting, by use of an HTTP request, a URL identified in the found registry record for the sensor. 